import { h } from 'vue'

export const options = [
  {
    label: '设置',
    key: 'set'
  },
  {
    label: () =>
      h(
        'a',
        {
          href: 'https://gitee.com/GreenBoy0526/site-navigation/blob/master/README.md',
          target: '_blank'
        },
        '关于'
      ),
    key: 'help'
  },
  {
    label: () =>
      h(
        'a',
        {
          href: 'https://greenboy0526.github.io',
          target: '_blank'
        },
        '找到我'
      ),
    key: 'me'
  },
  {
    label: '其他',
    key: 'other',
    children: [
      {
        label: () => h('a', { href: 'http://liben.online/tools' }, '工具箱'),
        key: 'gis-tools'
      },
      {
        label: () => h('a', { href: 'http://liben.online/videos' }, '乐坏影视'),
        key: 'videos'
      },
      {
        key: 'game',
        label: '小游戏',
        children: [
          {
            label: () => h('a', { href: 'http://liben.online:520/#/JigsawPuzzle' }, '拼图'),
            key: 'JigsawPuzzle'
          }
        ]
      }
    ]
  }
]
